Action hook 'do_feed_{$feed}'

in WP Core File wp-includes/functions.php at line 1634

Description

Fires once the given feed is loaded. The dynamic portion of the hook name, `$feed`, refers to the feed template name. Possible hook names include: - `do_feed_atom` - `do_feed_rdf` - `do_feed_rss` - `do_feed_rss2`

Occurrences

Filename Line Number
wp-includes/functions.php 1634

Parameters

Type Name Description
bool $is_comment_feed Whether the feed is a comment feed.
string $feed The feed name.

PHP Doc

/**
	 * Fires once the given feed is loaded.
	 *
	 * The dynamic portion of the hook name, `$feed`, refers to the feed template name.
	 *
	 * Possible hook names include:
	 *
	 *  - `do_feed_atom`
	 *  - `do_feed_rdf`
	 *  - `do_feed_rss`
	 *  - `do_feed_rss2`
	 *
	 * @since 2.1.0
	 * @since 4.4.0 The `$feed` parameter was added.
	 *
	 * @param bool   $is_comment_feed Whether the feed is a comment feed.
	 * @param string $feed            The feed name.
	 */